import api from '@/api/console/consoleIndex'
import { ScreenConsoleApiModel } from '@/type/console/screenConsole';

export const getScreenConsole = ():RES<ScreenConsoleApiModel> => api.get('/screen/getConsole', {
  withCredentials: true
}) ;

export const updateScreenConsole = (params:ScreenConsoleApiModel) : RES<{res:boolean}> => api.post('/screen/updateConsole',params,{
  withCredentials: true,
})